Dose Control in Proton Therapy For Cancer Treatment